package com.ruoyi.MtTakeaway.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 美团对象 获取活动链接
 * 
 * @author 张
 * @date 2023-09-24
 */
public class Mthylj extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityname;

    /** 活动id */
    @Excel(name = "活动id")
    private String activityid;

    /** 活动长链接 */
    @Excel(name = "活动长链接")
    private String commonLink;

    /** 活动短链接 */
    @Excel(name = "活动短链接")
    private String shortLink;

    /** 活动二维码 */
    @Excel(name = "活动二维码")
    private String commonQrCode;

    /** 活动小程序路径 */
    @Excel(name = "活动小程序路径")
    private String miniProgramPath;

    /** 活动小程序码图片链接 */
    @Excel(name = "活动小程序码图片链接")
    private String miniProgramQrCode;

    /** 活动物料文件链接 */
    @Excel(name = "活动物料文件链接")
    private String materialDownloadLink;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 活动推广规则详情 */
    @Excel(name = "活动推广规则详情")
    private String ruleInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityname(String activityname) 
    {
        this.activityname = activityname;
    }

    public String getActivityname() 
    {
        return activityname;
    }
    public void setActivityid(String activityid)
    {
        this.activityid = activityid;
    }

    public String getActivityid()
    {
        return activityid;
    }
    public void setCommonLink(String commonLink) 
    {
        this.commonLink = commonLink;
    }

    public String getCommonLink() 
    {
        return commonLink;
    }
    public void setShortLink(String shortLink) 
    {
        this.shortLink = shortLink;
    }

    public String getShortLink() 
    {
        return shortLink;
    }
    public void setCommonQrCode(String commonQrCode) 
    {
        this.commonQrCode = commonQrCode;
    }

    public String getCommonQrCode() 
    {
        return commonQrCode;
    }
    public void setMiniProgramPath(String miniProgramPath) 
    {
        this.miniProgramPath = miniProgramPath;
    }

    public String getMiniProgramPath() 
    {
        return miniProgramPath;
    }
    public void setMiniProgramQrCode(String miniProgramQrCode) 
    {
        this.miniProgramQrCode = miniProgramQrCode;
    }

    public String getMiniProgramQrCode() 
    {
        return miniProgramQrCode;
    }
    public void setMaterialDownloadLink(String materialDownloadLink) 
    {
        this.materialDownloadLink = materialDownloadLink;
    }

    public String getMaterialDownloadLink() 
    {
        return materialDownloadLink;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setRuleInfo(String ruleInfo) 
    {
        this.ruleInfo = ruleInfo;
    }

    public String getRuleInfo() 
    {
        return ruleInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityname", getActivityname())
            .append("activityid", getActivityid())
            .append("commonLink", getCommonLink())
            .append("shortLink", getShortLink())
            .append("commonQrCode", getCommonQrCode())
            .append("miniProgramPath", getMiniProgramPath())
            .append("miniProgramQrCode", getMiniProgramQrCode())
            .append("materialDownloadLink", getMaterialDownloadLink())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("ruleInfo", getRuleInfo())
            .toString();
    }
}
